﻿
using System;
using System.Collections.Generic;
using com.youzu.warh.protocol;
using UnityEngine;

namespace Yoozoo.Gameplay.RTS
{
    public class RoundAttackEffect
    {
        public float startTime;
        public int effectId;
        public com.youzu.warh.protocol.TargetCoordinateType sourceMarchType;
        public long sourceMarchUid;
        
        public com.youzu.warh.protocol.TargetCoordinateType targetMarchType;
        public long targetMarchUid;
        public List<bool> hasPlayed = new List<bool>(8);
        public float offset;
        public bool bindOnSource;
        public List<GameObject> effects = new List<GameObject>(8);
        public List<float> startTimes = new List<float>(8);
        public bool isRelatedToSelf;
        public int effectCount;
        public float timeOffset;
        public bool isAttackCity;
        internal void OnReset()
        {
            startTime = 0;
            effectId = 0;
            sourceMarchUid = 0;
            targetMarchUid = 0;
            offset = 0;
            bindOnSource = false;
        }
    }
}
